package org.smartopen.unionpay.openapi.service.dlx;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 死信消息载体
 * @author ycc
 * @Date 2021-12-09
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class DLXMessage<T> implements Serializable {

    private static final long serialVersionUID = 9956432152000L;

    private String exchange;
    private String queueName;
    private T content;
    private long times;
}